<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.js"></script>
</head>

<body class="container">
    <ul class="nav nav-tabs">
        <li class="nav-item">
            <a class="nav-link active" data-bs-toggle="tab" href="#image1">首页</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" data-bs-toggle="tab" href="#image2">精品蔬菜</a>
        </li>
        <li class="dropdown nav-item">
            <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">精品水果</a>
            <ul class="dropdown-menu">
                <li class="nav-item">
                    <a class="nav-link" data-bs-toggle="tab" href="#image3">葡萄</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-bs-toggle="tab" href="#image4">苹果</a>
                </li>
            </ul>
        </li>
        <li class="nav-item">
            <a class="nav-link" data-bs-toggle="tab" href="#image5">热销水果</a>
        </li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane fade show active" id="image1"><img src="1.jpg" alt="" class="img-fluid"></div>
        <div class="tab-pane fade" id="image2"><img src="2.jpg" alt="" class="img-fluid"></div>
        <div class="tab-pane fade" id="image3"><img src="3.jpg" alt="" class="img-fluid"></div>
        <div class="tab-pane fade" id="image4"><img src="4.jpg" alt="" class="img-fluid"></div>
        <div class="tab-pane fade" id="image5"><img src="5.jpg" alt="" class="img-fluid"></div>
    </div>

</body>

</html>